-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: eip target gas from consensus params #7270
Conversation
} | ||
|
||
newBlockMaxGas := newConsensusParams.Block.MaxGas | ||
mempool1559.TargetGas = newBlockMaxGas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't right, it should be max gas times .625
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done here d148048
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!
Closes: #XXX
What is the purpose of the change
The EIP TargetGas is hardcoded as a variable to 75_000_000.
This PR does two things:
This allows us to utilize this parameter without having to deserialize the value every block.
Testing and Verifying
BeginBlocker test added here f6832ce
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)